package com.pxst.fi.service;

import com.pxst.fi.entity.SysBankBillEntity;
import com.pxst.internalReports.req.VirtualBankStatementReq;
import com.pxst.internalReports.req.VirtualBankStatementSearchReq;
import com.pxst.internalReports.req.VirtualBankStatementUpdateReq;
import com.pxst.resp.ApiResp;
import icu.mhb.mybatisplus.plugln.base.service.JoinIService;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
* @author notch
* @description 针对表【sys_bank_bill(银行对账单（vb100）)】的数据库操作Service
* @createDate 2023-09-14 17:22:14
*/
@Service
public interface SysBankBillService extends JoinIService<SysBankBillEntity> {

    ApiResp searchVirtualBankStatement(VirtualBankStatementSearchReq searchReq);

    void downloadVirtualBankStatement(VirtualBankStatementSearchReq searchReq, HttpServletResponse response);

    void downloadVBSUploadExample(HttpServletResponse response);

    ApiResp createVirtualBankStatement(VirtualBankStatementReq bankStatementReq);

    ApiResp updateVirtualBankStatement(VirtualBankStatementUpdateReq req);

    ApiResp uploadVirtualBankStatement(MultipartFile file, HttpServletRequest request) throws Exception;
}
